﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace UBCon.Controls.Models
{
    internal class DatePickerModel:ModelBase
    {
        //------------------------------------------------------
        //
        //  Constructors
        //
        //------------------------------------------------------
        #region Constructors
        #endregion

        //------------------------------------------------------
        //
        //  Fields
        //
        //-----------------------------------------------------
        #region Fields
        
        private DateTime _dateTime;
        
        #endregion

        //------------------------------------------------------
        //
        //  Properties
        //
        //------------------------------------------------------
        #region Properties

        /// <summary>
        /// Gets or sets DateTime value.
        /// </summary>
        public DateTime DateTime 
        {
            get 
            {
                return _dateTime;
            }
            set 
            {
                if (value != _dateTime)
                {
                    
                    _dateTime = value;
                    OnPropertyChanged("DateTime");
                }

            }
        }
        #endregion

    }
}
